<?php
    abstract class DatabaseModel {
    protected function setDatabaseConnection() {
        mysql_connect("localhost", "root", "");
        mysql_select_db("pihakketiga");
    }
    abstract function insertTransaction();
    abstract function updateTransaction();
    abstract function deleteTransaction();
    abstract function getData($filter);
}
?>